package com.sukhovilin.patterns.gof.behavioral.Command.realworld;

/**
 * The 'Invoker' class
 */
class Invoker {
	private Command command;

	public void SetCommand(Command command) {
		this.command = command;
	}

	public void ExecuteCommand() {
		command.Execute();
	}
}